html{
  background-color: #f2f2f2;
  color: #666;
}
body,html{
  font-family: "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", Helvetica, "Microsoft YaHei", Arial;
}
body, html {
  height: 100%;
}

/*layer 样式重置*/
.admin-body .layui-bg-black {
  background-color: #2f4050!important;
}
.admin-body .layui-side-scroll{
  width: 100%;
}

.admin-body .layui-side-scroll::-webkit-scrollbar {
  display: none;
}
.layui-fluid {
  padding: 15px;
}

/*主题色重置*/
.admin-body .layui-header .layui-nav-bar,.admin-pagetabs .layui-tab-title li:after,.admin-pagetabs .layui-tab-title li .layui-icon-close:hover{
  background-color: #20222A;
  color: #fafafa;
}

/*header*/
.admin-body .layui-layout-admin .layui-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #f6f6f6;
  box-sizing: border-box;
  background-color: #fff;
}
.admin-body .layui-layout-admin .layui-header a,.layui-layout-admin .layui-header a cite {
  color: #333
}

.admin-body .layui-layout-admin .layui-header a:hover {
  color: #000
}
.admin-body .layui-header .layui-layout-left{
  padding:0 10px;
}
.admin-body .layui-layout-left li{
  margin: 0 10px;
}
.admin-body .layui-header .layui-nav-bar{
  top: 0!important;
  bottom: auto;
  height: 2px;
}
.admin-body .layui-layout-admin .layui-input-search {
  display: inline-block;
  vertical-align: middle;
  height: 32px;
  border: none;
  cursor: text;
}
.admin-body .layui-nav .layui-nav-item a{
  padding:0 15px;
}

/*left*/
.admin-body .layui-nav-tree .layui-nav{
  background-color: #2f4050;
}
.admin-body .layui-nav-tree{
  width: 100%;
}
.admin-body .layui-nav-tree .layui-nav-item a{
  padding:0 22px;
}
.admin-body .layui-nav-tree .layui-nav-item a cite{
  margin-left: 5px;
}
.admin-body .layui-layout-admin .layui-logo {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1002;
  width: 220px;
  padding: 0 15px;
  box-sizing: border-box;
  overflow: hidden;
  font-weight: 300;
  background-repeat: no-repeat;
  background-position: center center;
  line-height: 60px;
  height: 60px;
  color: #DFE4ED;
  background: #263a4a;
}
.admin-body .layui-layout-admin .layui-logo .small-text{
  display: none;
}
.admin-body .layui-nav-tree .layui-nav-child{
  box-sizing: border-box;
}

.admin-body .layui-nav-tree .layui-nav-child dd{
  padding-left: 24px;
}

.admin-body .layui-layout-admin .layui-side {
  width: 220px;
  top: 0;
  z-index: 1001;
  padding-top: 60px;
}

.admin-body .layui-layout-admin .layui-footer,.admin-body .layui-layout-admin .layui-body,.admin-body .layui-header .layui-layout-left,.admin-pagetabs{
  left: 220px;
}
.admin-body .layui-layout-admin .layui-body {
  position: fixed;
  top: 100px;
  bottom: 44px;
}


/*侧边栏最小化*/
.mini-navbar .layui-layout-admin .layui-side,.mini-navbar .layui-layout-admin .layui-logo{
  width: 60px;
}
.mini-navbar .layui-layout-admin .layui-layout-left,.mini-navbar .layui-layout-admin .layui-footer,.mini-navbar .layui-layout-admin .layui-body,.mini-navbar .admin-pagetabs {
  left: 60px;
}
.mini-navbar .layui-layout-admin .layui-logo .small-text{
  display: block;
}
.mini-navbar .left-side-menu .layui-nav-child, .mini-navbar .left-side-menu cite,.mini-navbar .left-side-menu .layui-nav-more,.mini-navbar .layui-layout-admin .layui-logo .big-text{
  display: none;
}


/*pagetabs 页面多页签*/
.admin-pagetabs{
  height: 40px;
  line-height: 40px;
  padding: 0 80px 0 40px;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
  position: fixed;
  top: 61px;
  z-index: 999;
  right: 0;
}
.admin-pagetabs .admin-tabs-control{
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  -webkit-transition: all .3s;
  box-sizing: border-box;
  border-left: 1px solid #f6f6f6;
}
.admin-pagetabs .admin-tabs-control:hover{
  background-color: #f6f6f6;
}
.admin-pagetabs .layui-icon-prev {
  left: 0;
  border-right: 1px solid #f6f6f6;
}
.admin-pagetabs .layui-icon-next {
  right: 40px;
}
.admin-pagetabs .layui-icon-down {
  right: 0;
}
.admin-pagetabs .layui-icon-down .layui-nav {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: 0 0;
}
.admin-pagetabs .layui-icon-down .layui-nav .layui-nav-item,.admin-pagetabs .layui-icon-down .layui-nav .layui-nav-item>a{
  width: 100%;
  height: 100%;
  padding: 0;
}
.admin-pagetabs .layui-icon-down .layui-nav .layui-nav-child dd.layui-this a,.admin-pagetabs .layui-icon-down .layui-nav-child dd.layui-this{
  background-color: inherit;
  color: #333;
}
.admin-pagetabs .layui-icon-down .layui-nav-child{
  top: 40px;
  left: auto;
  right: 0;
}
.admin-pagetabs .layui-icon-down .layui-nav .layui-nav-bar,.admin-pagetabs .layui-icon-down .layui-nav .layui-nav-item .layui-nav-more{
  display: none;
}
.admin-pagetabs .layui-tab-title li{
  min-width: 0;
  line-height: 40px;
  max-width: 160px;
  text-overflow: ellipsis;
  padding-right: 40px;
  overflow: hidden;
  border-right: 1px solid #f6f6f6;
  vertical-align: top;
}
.admin-pagetabs .layui-tab-title li.home{
  padding-right: 15px;
}
.admin-pagetabs .layui-tab-title li.layui-this, .admin-pagetabs .layui-tab-title li:hover {
  background-color: #f6f6f6;
}
.admin-pagetabs .layui-tab-title li:after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  border:0;
  transition: all .3s;
  -webkit-transition: all .3s;
}
.admin-pagetabs .layui-tab-title li.layui-this:after,.admin-pagetabs .layui-tab-title li:hover:after{
  width: 100%;
}
.admin-pagetabs .layui-tab-title li .layui-icon-close{
  position: absolute;
  right: 8px;
  top: 50%;
  margin: -7px 0 0;
  width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 50%;
  font-size: 12px;
}


.admin-body .layui-layout-admin .layui-body .tabs-iframe{ 
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}